package heven.holt.library.http.download

import android.net.Uri

sealed class DownloadStatus {
    class DownloadProgress(val currentLength: Long, val totalLength: Long, val progress: Float) :
        DownloadStatus()

    class DownloadError(val t: Throwable) : DownloadStatus()

    class DownloadSuccess(val uri: Uri) : DownloadStatus()
}